//
//  Header.h
//  SeaGullFM
//
//  Created by dllo on 15/11/16.
//  Copyright © 2015年 tianou. All rights reserved.
//

#ifndef Header_h
#define Header_h


#define FULL_SCREEN [[UIScreen mainScreen] bounds]

#define SCREEN_WIDTH [[UIScreen mainScreen] bounds].size.width

#define SCREEN_HEIGHT [[UIScreen mainScreen] bounds].size.height

#define WID [[UIScreen mainScreen] bounds].size.width / 375
#define HEI [[UIScreen mainScreen] bounds].size.height / 667

#define HEIGHT_TABLE [[UIScreen mainScreen] bounds].size.height-111

#define HEIGHT_NOBAR [[UIScreen mainScreen] bounds].size.height-67

#define FULL_SIZE [[UIScreen mainScreen] bounds].size

#define CURRENTSCEEN [UIScreen mainScreen].bounds

#define  DOCUMENT  [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject]

#define WHITE [UIColor whiteColor]

#define CLEAR [UIColor clearColor]

#define COLOR_DAY [UIColor colorWithRed:0.93 green:0.93 blue:0.93 alpha:1]

#define COLOR_NIGHT [UIColor colorWithRed:0.2 green:0.2 blue:0.2 alpha:0.8]

#define COLOR_NORMAL [UIColor colorWithRed:0.57 green:0.57 blue:0.57 alpha:1]

#define COLOR_SELECTED [UIColor colorWithRed:0.98 green:0.35 blue:0.16 alpha:1]

#define COLOR_BG [UIColor colorWithRed:0.93 green:0.93 blue:0.93 alpha:1]

#define COLOR_CELL_NIGHT [UIColor colorWithRed:0.1 green:0.1 blue:0.1 alpha:0.8]

#define COLOR_CELL_DAY [UIColor colorWithRed:0.96 green:0.96 blue:0.96 alpha:1]

#define COLOR_BTN_NIGHT [UIColor colorWithRed:0.19 green:0.19 blue:0.19 alpha:1]

#define COLOR_BTN_DAY [UIColor whiteColor]

#define COLOR_VIEW_NIGHT [UIColor colorWithRed:0.3 green:0.3 blue:0.3 alpha:1]

#define COLOR_VIEW_DAY [UIColor colorWithRed:0.96 green:0.96 blue:0.96 alpha:1]

#define BLACK [UIColor blackColor]

#define NAVBAR_IMAGE_DAY [UIImage imageNamed:@"navigationBar_day.png"]

#define NAVBAR_IMAGE_NIGHT [UIImage imageNamed:@"navigationBar_night.png"]

#define PLACEHOLDER_IMAGE [UIImage imageNamed:@"placeholder_image_width.jpg"]

#define PLACEHOLDER_CELL_SAME [UIImage imageNamed:@"placeholder_cell_same.jpg"]

#define PLACEHOLDER_CELL_CIRCLE [UIImage imageNamed:@"placeholder_cell_cicle.jpg"]


#if DEBUG

#define NSLog(FORMAT, ...) fprintf(stderr,"[%s:%d行] %s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);

#else

#define NSLog(FORMAT, ...) nil

#endif

#define RGBA(R/*红*/, G/*绿*/, B/*蓝*/, A/*透明*/) \
[UIColor colorWithRed:R/255.f green:G/255.f blue:B/255.f alpha:A]

#import "WSBaseBtn.h"
#import "WSBaseCollectionLabel.h"
#import "WSBaseCollectionView.h"
#import "WSBaseCollectionViewCell.h"
#import "WSBaseImageView.h"
#import "WSBaseModel.h"
#import "WSBaseNavigationController.h"
#import "WSBaseScrollView.h"
#import "WSBaseTableView.h"
#import "WSBaseTableViewCell.h"
#import "WSBaseTitleLabel.h"
#import "WSBaseViewController.h"
#import "WSBaseView.h"
#import "WSTabBarController.h"
#import "Masonry.h"
#import "FMDatabase.h"
#import "WSFMData.h"
#import "MJRefresh.h"
#import "WSAppTools.h"
#import "UIImageView+WebCache.h"
#import <MBProgressHUD.h>
#import <FXBlurView.h>

#endif /* Header_h */
